package com.atguigu.springcloud.feign.appoint;

import org.springframework.stereotype.Component;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 熔断降级  （payment/feign/timeout服务提供方出现异常会进入）
 * @date 2021/10/15 8:49
 */
@Component
public class AppointClientHystrix implements AppointService {


    @Override
    public String paymentFeignTimeOut() {
        String description = "服务异常，暂时熔断";
        return description;
    }
}
